<?php

/**
 * This template is use for creation of drop-down
 * menu to change the user's role
 * This form is seem only by admins on the user
 * profile page
 * Enter description here ...
 *
 */ 
class tplSelectrole extends \StudyBuddy\Template\Template
{
	protected static $vars = array(
	'token' => '',
	'uid' => '',
	'options' => '',
	'btnShred' => ''
	);
	
	protected static $tpl = '<div class="usr_roles fl cb">
	<form name="role" method="post" action="/index.php">
	<input type="hidden" name="a" value="usergroup">
	<input type="hidden" name="token" value="%1$s">
	<input type="hidden" name="uid" value="%2$s">
	<select name="role">
	%3$s
	</select>
	<br>
	<input type="submit" value="Save">
	</form>
	</div>
	%4$s
	';
}